home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global cdAnimating, movieNumber
- puppetSound("mouse down")
- set variable to the clickOn
- set oldLocV to the locV of sprite variable
- set newLocV to oldLocV + 2
- set the locV of sprite variable to newLocV
- set oldLocH to the locH of sprite variable
- set newLocH to oldLocH + 2
- set the locH of sprite variable to newLocH
- repeat while the stillDown
- updateStage()
- end repeat
- puppetSound(0)
- set cdAnimating to 1
- if movieNumber = 1 then
- go("Movie1Frame1")
- else
- if movieNumber = 2 then
- go("Movie2Frame1")
- else
- if movieNumber = 3 then
- go("Movie3Frame1")
- else
- if movieNumber = 4 then
- go("Movie4Frame1")
- else
- if movieNumber = 5 then
- go("Movie5Frame1")
- end if
- end if
- end if
- end if
- end if
- end
-